package com.example.demo.web.rest.evt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel("保存用户配置表参数")
public class SaveUserConfigEvt implements Serializable {
    @ApiModelProperty("用户配置表id")
    private Long userConfigId;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("最大在线会话数")
    private int maxOnlineSessionNum;
    @ApiModelProperty("账号有效策略")
    private int accountEffective;
    @ApiModelProperty("密码有效策略")
    private int pwdEffective;
    @ApiModelProperty("是否需要修改密码")
    private String isMustUpdPwd;
    @ApiModelProperty("账号锁定策略")
    private int accountLockout;
    @ApiModelProperty("账号停用策略")
    private int accountDisabled;
    @ApiModelProperty("密码有效期提示天数")
    private int pwdPromptDays;
    @ApiModelProperty("系统风格类型 0: 未选择风格")
    private int systemStyleType;

    public Long getUserConfigId() {
        return userConfigId;
    }

    public void setUserConfigId(Long userConfigId) {
        this.userConfigId = userConfigId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public int getMaxOnlineSessionNum() {
        return maxOnlineSessionNum;
    }

    public void setMaxOnlineSessionNum(int maxOnlineSessionNum) {
        this.maxOnlineSessionNum = maxOnlineSessionNum;
    }

    public int getAccountEffective() {
        return accountEffective;
    }

    public void setAccountEffective(int accountEffective) {
        this.accountEffective = accountEffective;
    }

    public int getPwdEffective() {
        return pwdEffective;
    }

    public void setPwdEffective(int pwdEffective) {
        this.pwdEffective = pwdEffective;
    }

    public String getIsMustUpdPwd() {
        return isMustUpdPwd;
    }

    public void setIsMustUpdPwd(String isMustUpdPwd) {
        this.isMustUpdPwd = isMustUpdPwd;
    }

    public int getAccountLockout() {
        return accountLockout;
    }

    public void setAccountLockout(int accountLockout) {
        this.accountLockout = accountLockout;
    }

    public int getAccountDisabled() {
        return accountDisabled;
    }

    public void setAccountDisabled(int accountDisabled) {
        this.accountDisabled = accountDisabled;
    }

    public int getPwdPromptDays() {
        return pwdPromptDays;
    }

    public void setPwdPromptDays(int pwdPromptDays) {
        this.pwdPromptDays = pwdPromptDays;
    }

    public int getSystemStyleType() {
        return systemStyleType;
    }

    public void setSystemStyleType(int systemStyleType) {
        this.systemStyleType = systemStyleType;
    }

    @Override
    public String toString() {
        return "SaveUserConfigEvt{" +
                "userConfigId=" + userConfigId +
                ", userId=" + userId +
                ", maxOnlineSessionNum=" + maxOnlineSessionNum +
                ", accountEffective=" + accountEffective +
                ", pwdEffective=" + pwdEffective +
                ", isMustUpdPwd='" + isMustUpdPwd + '\'' +
                ", accountLockout=" + accountLockout +
                ", accountDisabled=" + accountDisabled +
                ", pwdPromptDays=" + pwdPromptDays +
                ", systemStyleType=" + systemStyleType +
                '}';
    }
}
